import { createI18n } from "vue-i18n";
import en from "./en/en.json";
import zh from "./zh/zh.json";

const messages = {
  en: {
    message: en,
  },
  zh: {
    message: zh,
  },
};

const i18n = createI18n({
  legacy: false,
  locale: "zh",
  messages,
});

export default i18n;
